package com.hover.dao;

import com.hover.pojo.Blog;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author: wei
 * @create: 2020-07-24
 **/
public interface BlogMapper {
    int addBlog(Blog blog);

    List<Blog> queryBlogIF(HashMap<String, Object> map);

    List<Blog> queryBlogIF2(HashMap<String, Object> map);

    List<Blog> querySQlBlock(HashMap<String, Object> map);

    List<Blog> queryForeach(Map map);

    List<Blog> queryBlogIF3(HashMap<String, Object> map);

    int updateBlog(Map map);
}

